import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '@/assets/base.scss';
import '@/assets/cust-elementplus.scss';
import '@/assets/icon/iconfont.css'
import '@/assets/icon/iconfont.js'

import '@/styles/index.scss'
import 'normalize.css'
import 'uno.css'
import router from '@/router'
import stores from '@/stores'
import App from './App.vue'
import addGlobalComps from '@/components/addGlobalComps'

import { setupPlugins } from '@/plugins'
import '@/plugins/presetElementPlus'


const app = createApp(App)

app.use(ElementPlus)
app.use(addGlobalComps)
app.use(router)
app.use(stores)

setupPlugins(app)
app.config.globalProperties.console = console

app.mount('#app')
